package xin.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import xin.entity.TOrgDepartment;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author young
 * @since 2023年10月09日
 */
public interface TOrgDepartmentService extends IService<TOrgDepartment> {

    Page<TOrgDepartment> findAll(String keyWorld, Integer page, Integer size);



    Integer add(TOrgDepartment department);


    Integer update(TOrgDepartment department);

    Integer delete(List<Long> ids);

    TOrgDepartment findById(Long id);


}
